package com.paranoidvulture.javaEngine.Views;

import java.awt.Graphics2D;
import java.awt.event.KeyListener;
import java.awt.event.MouseListener;
import java.awt.event.MouseMotionListener;
import java.awt.event.MouseWheelListener;

public interface IView extends KeyListener, MouseListener, MouseWheelListener, MouseMotionListener{
	
	int getWidth();
	int getHeight();
	void setWidth(int width);
	void setHeight(int height);
	float getPosX();
	float getPosY();
	void setPosX(float x);
	void setPosY(float y);
	boolean getEnabled();
	void setEnabled(boolean enable);
	String getName();
	void setName(String name);
	//initialize
	public void init();
	//update
	public void update(long timePassed);
	//draw
	public void draw(Graphics2D g);
}

